<template>
  <div style="padding: 1vh">
    <el-button type="primary" @click="toRouter('yzTraffic')">车流看板</el-button>
    <el-button type="primary" @click="toRouter('yzClientFlow')">客流看板</el-button>
    <el-button type="primary" @click="toRouter('parking')">停车看板</el-button>
    <el-button type="primary" @click="toRouter('yzSale')">销售看板</el-button>
    <el-button type="primary" @click="toRouter('toilet')">厕所看板</el-button>
    <el-button type="primary" @click="toRouter('securitySituation')">安全态势</el-button>

    <el-button type="primary" @click="toRouter('energy')">能耗看板</el-button>
    <el-button type="primary" @click="toRouter('headquarters')">综合看板（总部）</el-button>
    <el-button type="primary" @click="toRouter('headquartersServer')">综合看板</el-button>
    <el-button type="primary" @click="toRouter('basePanel')">基础信息看板</el-button>
    <el-button type="primary" @click="toRouter('basePanel2')">基础信息看板</el-button>
  </div>
</template>

<script setup>
import router from "../router/index.js";

const toRouter = (url) => {
  router.push({name: url,query:{"showBottomMenu":"1"}})
}

</script>
